package com.kata.chapter3;

/**
 * Created by Solidsnake on 2014/11/16.
 */
public class BMWCarFactory implements AbstractCarFactory {
    @Override
    public SportsCar getSportCar() {
        BMWSports bmwSports = new BMWSports();
        bmwSports.setName("我是宝马跑车, 速度杠杠的");
        bmwSports.setRapidDriving("正在以200km/h 急速奔驰中...");
        return bmwSports;
    }

    @Override
    public BusinessCar getBusinessCar() {
        BMWBusiness bmwBusiness = new BMWBusiness();
        bmwBusiness.setName("我是宝马商务车, 看起来很稳定, 其实一般般");
        bmwBusiness.setDriving("作为商务车, 还是比其他商务车跑得快一点...");
        return bmwBusiness;
    }
}
